package com.yitao.cms.model.operationUser;

import com.skipper.base.data.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 角色表
 *
 * @Author: Tqq
 * @Date: 2018/12/24 9:47
 */
@Data
@Entity
@Table(name="t_operation_role")
public class OperationRoleModel extends BaseEntity {

    private static final long serialVersionUID = -9015259691807906545L;
    /**
     *  id
     *  @mbggenerated
     */
    @Id
    @Column(name = "id", columnDefinition = "BIGINT")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     *  角色名
     *  @mbggenerated
     */
    private String roleName;

    /**
     *  描述
     *  @mbggenerated
     */
    private String description;

    /**
     *  状态(0:无效 1:有效)
     *  @mbggenerated
     */
    private Boolean state;

    /**
     *  是否删除(0:否 1:是)
     *  @mbggenerated
     */
    private Boolean isDelete;

    /**
     *  创建人
     *  @mbggenerated
     */
    private Long createBy;

    /**
     *  创建时间
     *  @mbggenerated
     */
    private Date createTime;

    /**
     *  最后更新人
     *  @mbggenerated
     */
    private Long lastUpdateBy;

    /**
     *  最后更新人
     *  @mbggenerated
     */
    private Date lastUpdateTime;


}
